package com.blankland.dataanalysis.mapper;

import com.blankland.dataanalysis.domain.Menu;
import com.blankland.dataanalysis.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 朱琨日
* @description 针对表【gama_user(用户表)】的数据库操作Mapper
* @createDate 2023-11-13 15:31:19
* @Entity com.blankland.dataanalysis.domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户id查询菜单
     * @param userId
     * @return
     */
    List<Menu> getMenuListByUserId(Integer userId);
}




